package frames.kits;

import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import javax.swing.*;

@Component
public class TextConsole extends JTextArea {
    public TextConsole() {
        super();
    }

    @PostConstruct
    public void init() {
        this.setText("console");
        this.setSize(300,100);

    }
    public void debug(Object o){
        System.out.println(Thread.currentThread().getName()+
                " : "+System.currentTimeMillis()+" == "+o.getClass().getName()
        +" ==>>　"+o.toString());
    }
}
